<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="columns pull-left">
							<button shiro:hasPermission="member:circle:addCircle" type="button" class="btn btn-primary"  onclick="add()">
								<i class="fa fa-plus" aria-hidden="true"></i>添加
							</button>
						</div>
						<div class="columns pull-right" role="group">
							<button class="btn btn-success" onclick="reLoad()">
								<i class="fa fa-search" aria-hidden="true"></i>查询
							</button>
							<!--<button class="btn btn-danger" onclick="exportBalances()" shiro:hasPermission="finance:balance:export">-->
								<!--<i class="fa fa-mail-reply-all" aria-hidden="true"></i>导出-->
							<!--</button>-->
						</div>

						<div class="columns pull-right col-md-1 nopadding" >
							<select data-placeholder="圈子类型" class="form-control chosen-select" id="type_id" tabindex="2">
								<option value="">选择类型</option>
								<option th:each="item: ${circleType}" th:text="${item.type_name}" th:value="${item.type_id}"></option>
							</select>
						</div>
						<div class="columns pull-right col-md-1 nopadding">
							<select id="examine" data-placeholder="审核状态" class="form-control chosen-select" tabindex="2">
								<option value="">所有</option>
								<option value="0">待审核</option>
								<option value="1">审核通过</option>
								<option value="2">审核不通过</option>
							</select>
						</div>
					</div>
					<table id="circleTable" data-mobile-responsive="true"></table>
				</div>
			</div>
		</div>
		<div>
			<script type="text/javascript">
				var s_pass_h = 'hidden';
				var s_no_pass_h = 'hidden';
				var s_detail_h = 'hidden';
				var s_likes_h = 'hidden';
				var s_remove_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="member:circle:passCircle">
			<script type="text/javascript">
				s_pass_h = '';
			</script>
		</div>
		<div shiro:hasPermission="member:circle:passCircle">
			<script type="text/javascript">
				s_no_pass_h = '';
			</script>
		</div>
		<div shiro:hasPermission="member:circle:detailCircle">
			<script type="text/javascript">
				s_detail_h = '';
				s_likes_h = '';
			</script>
		</div>
		<div shiro:hasPermission="member:circle:removeCircle">
			<script type="text/javascript">
				s_remove_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/member/circle/circle.js"></script>
</body>
</html>